package com.lsw.rabbitmq.controller;

import com.lsw.rabbitmq.service.MessagingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>l</p>
 *
 * @author LiShaoWen
 * @date 2022/5/18 15:21
 */
@RestController
public class TestController {
    @Autowired
    MessagingService messagingService;
    @RequestMapping("test")
    public void test(String orderId){
        //messagingService.sendCreateOrderMessage(orderId);
        messagingService.sendConfirmTestMessage();
    }
}
